package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_log
 * 
 * @author ruoyi
 * @date 2022-02-10
 */
public class SysLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String recNo;

    /** 操作用户编号 */
    @Excel(name = "操作用户编号")
    private String userNo;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actionTime;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String actionContent;

    /** 操作Ip */
    @Excel(name = "操作Ip")
    private String actionIp;

    /** Ip信息 */
    @Excel(name = "Ip信息")
    private String actionIpInfo;

    /** 备注 */
    @Excel(name = "备注")
    private String actionDesc;

    public void setRecNo(String recNo) 
    {
        this.recNo = recNo;
    }

    public String getRecNo() 
    {
        return recNo;
    }
    public void setUserNo(String userNo) 
    {
        this.userNo = userNo;
    }

    public String getUserNo() 
    {
        return userNo;
    }
    public void setActionTime(Date actionTime) 
    {
        this.actionTime = actionTime;
    }

    public Date getActionTime() 
    {
        return actionTime;
    }
    public void setActionContent(String actionContent) 
    {
        this.actionContent = actionContent;
    }

    public String getActionContent() 
    {
        return actionContent;
    }
    public void setActionIp(String actionIp) 
    {
        this.actionIp = actionIp;
    }

    public String getActionIp() 
    {
        return actionIp;
    }
    public void setActionIpInfo(String actionIpInfo) 
    {
        this.actionIpInfo = actionIpInfo;
    }

    public String getActionIpInfo() 
    {
        return actionIpInfo;
    }
    public void setActionDesc(String actionDesc) 
    {
        this.actionDesc = actionDesc;
    }

    public String getActionDesc() 
    {
        return actionDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recNo", getRecNo())
            .append("userNo", getUserNo())
            .append("actionTime", getActionTime())
            .append("actionContent", getActionContent())
            .append("actionIp", getActionIp())
            .append("actionIpInfo", getActionIpInfo())
            .append("actionDesc", getActionDesc())
            .toString();
    }
}
